package com.lhc.singleton;

public class SingleTonTest {

    public static void main(String[] args) {
        //获取
        SingleTon stu0=SingleTon.getSingleTonInstance();
        SingleTon stu1=SingleTon.getSingleTonInstance();
        System.out.println("stu0==stu1"+(stu0==stu1));
    }
}
